package com.haiyou.mini.programs.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 配置文件
 */

@ConfigurationProperties(prefix = WxMiniProgramProperties.PREFIX)
@Data
public class WxMiniProgramProperties {
    /**
     * 服务配置前缀名
     */
    public static final String PREFIX = "wxMini";

    /**
     * 是否可用
     */
    private boolean enable;
    /**
     * appId
     */
    private String appId;
    /**
     * secret
     */
    private String secret;
    /**
     * payKey
     */
    private String payKey;
    /**
     * mchId
     */
    private String mchId;
    /**
     * notifyUrl
     */
    private String notifyUrl;
    /**
     * page
     */
    private String page;

}
